package cn.ilikes.modules;


/**
 * 
 * @author fack
 *
 */
public class IlikeException extends Exception {

	private static final long serialVersionUID = -1491959860527988762L;
	
	private int  errorCode=0;

	public IlikeException() {

	}
	
	public IlikeException(String message,int errorCode) {
		super(message);
		this.errorCode = errorCode;
	}

	public IlikeException(String message) {
		super(message);
	}

	public IlikeException(Throwable cause) {
		super(cause);
	}

	public IlikeException(String message, Throwable cause) {
		super(message, cause);
	}

	

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	
	

}
